package com.linuxgt.pattern.command.scheme1;

/**
 * Created by LIUTENG on 2015-01-08.
 */
public class Application {
    public static void main(String[] args) {
        CompanyArmy companyArmy=new CompanyArmy();
        Command command=new ConcreteCommand(companyArmy);
        ArmySuperior armySuperior=new ArmySuperior();
        armySuperior.setCommand(command);
        armySuperior.startExecuteCommand();
    }
}
